package handler

import (
	"github.com/gin-gonic/gin"
	"gochat/service"
)

func Message(c *gin.Context) {
	uid, _ := c.Get("uid") //用户登录的uid
	service.Message.Message(c, uid.(string))
}
